package com.leonse.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author leonse
 * @date 2023/12/28 22:46
 **/
@FeignClient(value = "seata-stock")
public interface MyFeignClient {

    @GetMapping("/stock/deduction")
    void deduction();

}
